package com.example.diarymanger.service;

import com.example.diarymanger.bean.ApiResponse;
import com.example.diarymanger.bean.UserBean;
import org.apache.ibatis.annotations.Select;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service
public interface UserService {
    ResponseEntity<ApiResponse> register(UserBean userBean);
    UserBean login(String username, String password);
    ResponseEntity<ApiResponse> updateUserInfo(UserBean userBean);
}
